package org.dingyom.org.mapper;

import org.dingyom.org.domain.Shop;
import org.dingyom.basics.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author dingyom
 * @since 2022-09-01
 */
public interface ShopMapper extends BaseMapper<Shop> {

    //根据店铺名字查询
    Shop loadByName(String name);
    //批量查询
    List<Shop> loadBatch(List<Long> ids);
}
